#include "StdAfx.h"
#include "GameState.h"
#include "GDIMario.h"

//CMyBitmap* CGameState::pbmTiles				= new CMySprite();
//CMyBitmap* CGameState::pbmTiles	= new CMyBitmap(L"res\\tilesstandard.png");
//CMyBitmap* CGameState::pbmTiles->GetRect();
CGameState::CGameState(void)
{
}

CGameState::~CGameState(void)
{
}

void CGameState::StateHandler(int msg, HDC *pDC, int key){
	if (msg == MESSAGE_ENTER)
		MessageEnter(pDC);
	else if (msg == MESSAGE_UPDATE)
		MessageUpdate(key);
	else if (msg == MESSAGE_PAINT)
		MessagePaint(pDC);
	else if (msg == MESSAGE_EXIT)
		MessageExit();
}


